import React, {Component, Children} from 'react'
import classnames from 'classnames'
class Tab extends Component {
    constructor(props, context) {
        super(props, context)
    }

    render() {
        const {select} = this.props
        const isShow = classnames({
            'rc-tab-container': true,
            'active': select
        })
        return (
            <div className={isShow}>
                {this.props.children}
            </div>
        )


    }
}
export default Tab